import { defineStore } from "pinia";

export const useLoveTalkStore = defineStore('talk', {
    // 真正存储数据的地方
    state(){
        return {
            talkList: JSON.parse(localStorage.getItem('talkList') as string) || []
        }
    }
})